package com.boo.app;

import android.app.Activity;
import android.os.Bundle;
import android.provider.Settings;
import android.view.Window;
import android.content.Intent;

import android.view.View;
//import android.view.View.OnClickListener;
import android.widget.Button;

public class appMenu extends Activity {
	/** Called when the activity is first created. */

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		// TODO Auto-generated method stub
		setContentView(R.layout.main);
		startActivity(new Intent(this, appBaby.class));

		Button launch = (Button) findViewById(R.id.warning);
		launch.setOnClickListener(new Button.OnClickListener() {
			public void onClick(View v) {
				Intent intent = new Intent(appMenu.this, appCare.class);
				startActivity(intent);

			}

		});
		Button launch1 = (Button) findViewById(R.id.fashion);
		launch1.setOnClickListener(new Button.OnClickListener() {
			public void onClick(View v) {
				Intent intent = new Intent(appMenu.this, appStyle.class);
				startActivity(intent);
			}
		});
		Button launch2 = (Button) findViewById(R.id.grow);
		launch2.setOnClickListener(new Button.OnClickListener() {
			public void onClick(View v) {  
	             Intent intent = new Intent(Settings.ACTION_DISPLAY_SETTINGS);
	             
	                startActivity(intent);
	            }
		});
		Button launch3 = (Button) findViewById(R.id.alarm);
		launch3.setOnClickListener(new Button.OnClickListener() {
			public void onClick(View v) {
				Intent intent = new Intent(appMenu.this, appAlarm.class);
				startActivity(intent);
			}
		});
	}
}
